package o;

import android.text.TextUtils;
import java.util.ArrayList;
import o.col.e;

public class bpd implements bkm {
    private transient coi mListener;
    private ArrayList<String> mModules;
    private String mPkgName;
    private int mVersionCode;

    public col ˊ() {
        e eVar = new e();
        eVar.ˏ(1);
        eVar.ˋ(coc.ˏ);
        eVar.ॱ(this.mPkgName);
        eVar.ˊ(this.mVersionCode);
        eVar.ˎ(this.mModules);
        eVar.ˏ(this.mListener);
        return eVar.ॱ();
    }

    public bpd ˋ(String str) {
        this.mPkgName = str;
        return this;
    }

    public bpd ˏ(int i) {
        this.mVersionCode = i;
        return this;
    }

    public bpd ˏ(String str) {
        if (this.mModules == null) {
            this.mModules = new ArrayList();
        }
        if (!(TextUtils.isEmpty(str) || this.mModules.contains(str))) {
            this.mModules.add(str);
        }
        return this;
    }

    public bpd ˊ(coi o_coi) {
        this.mListener = o_coi;
        return this;
    }
}
